package com.sxj.ums.service;

import com.sxj.ums.entity.User;
import com.sxj.ums.exception.PasswordErrorException;
import com.sxj.ums.exception.UserNotExistException;

/**
 * @author 石小俊
 */
public interface UserService {

    User login(String username,String password) throws UserNotExistException, PasswordErrorException;

}
